--[[

        hero_res.lua
        exported by excel2lua.py
        from file:hero_res.xlsx

--]]

local _data = {
  [1] = {id = 'werwolf',res_name = 'Group_Monster_Werwolf',attack_time = 0.8,hit_time = 0.13,icon = 'hero1',},
  [2] = {id = 'cheyongtai',res_name = 'Hero_Cheyongtai',attack_time = 0.8,hit_time = 0.11,icon = 'hero2',},
  [3] = {id = 'cheyongtaiar',res_name = 'Hero_Cheyongtai_army',attack_time = 0.8,hit_time = 0.09,icon = 'hero3',},
  [4] = {id = 'cheyongtaisui',res_name = 'Hero_Cheyongtai_Suit',attack_time = 0.9,hit_time = 0.14,icon = 'hero4',},
  [5] = {id = 'guxiaohua',res_name = 'Hero_Guxiaohua',attack_time = 0.3,hit_time = 0.1,icon = 'hero5',},
  [6] = {id = 'guxiaohuagl',res_name = 'Hero_Guxiaohua_KL',attack_time = 0.6,hit_time = 0.12,icon = 'hero6',},
  [7] = {id = 'hongjie',res_name = 'Hero_Hongjie',attack_time = 0.5,hit_time = 0.1,icon = 'hero7',},
  [8] = {id = 'huangxiao',res_name = 'Hero_Huangxiaoyan',attack_time = 0.9,hit_time = 0.2,icon = 'hero8',},
  [9] = {id = 'mingyue',res_name = 'Hero_Mingyue',attack_time = 0.7,hit_time = 0.14,icon = 'hero9',},
  [10] = {id = 'missyan',res_name = 'Hero_Missyan',attack_time = 0.6,hit_time = 0.14,icon = 'hero10',},
  [11] = {id = 'missyanqing',res_name = 'Hero_Missyan_qingrenjie',attack_time = 0.7,hit_time = 0.02,icon = 'hero11',},
  [12] = {id = 'qingfeng',res_name = 'Hero_Qingfeng',attack_time = 0.6,hit_time = 0.1,icon = 'hero12',},
  [13] = {id = 'tianranfei',res_name = 'Hero_Tianranfei',attack_time = 0.6,hit_time = 0.2,icon = 'hero13',},
  [14] = {id = 'ximen',res_name = 'Hero_Ximen',attack_time = 0.6,hit_time = 0.2,icon = 'hero14',},
  [15] = {id = 'ximenrage',res_name = 'Hero_Ximen_Rage',attack_time = 0.6,hit_time = 0.2,icon = 'hero15',},
  [16] = {id = 'xisha',res_name = 'Hero_Xisha',attack_time = 0.6,hit_time = 0.2,icon = 'hero16',},
  [17] = {id = 'xishadark',res_name = 'Hero_XishaDark',attack_time = 0.6,hit_time = 0.2,icon = 'hero17',},
  [18] = {id = 'yeyan',res_name = 'Hero_Yeyan',attack_time = 0.6,hit_time = 0.2,icon = 'hero18',},
  [19] = {id = 'yeyanmogu',res_name = 'Hero_Yeyan_Mogu',attack_time = 0.6,hit_time = 0.2,icon = 'hero19',},
  [20] = {id = 'yeyandark',res_name = 'Hero_YeyanDark',attack_time = 0.6,hit_time = 0.2,icon = 'hero20',},
  [21] = {id = 'yeyandarkbeginer',res_name = 'Hero_YeyanDark_Beginner',attack_time = 0.6,hit_time = 0.2,icon = 'hero21',},
  [22] = {id = 'batelite',res_name = 'Monster_BatElite',attack_time = 0.6,hit_time = 0.2,icon = 'hero22',},
  [23] = {id = 'bear',res_name = 'Monster_Bear',attack_time = 0.6,hit_time = 0.2,icon = 'hero23',},
  [24] = {id = 'biao',res_name = 'Monster_Biao',attack_time = 0.6,hit_time = 0.2,icon = 'hero24',},
  [25] = {id = 'devilblood',res_name = 'Monster_DevilBlood',attack_time = 0.6,hit_time = 0.2,icon = 'hero25',},
  [26] = {id = 'devilshark',res_name = 'Monster_DevilShark',attack_time = 0.6,hit_time = 0.2,icon = 'hero26',},
  [27] = {id = 'drunk',res_name = 'Monster_Drunk',attack_time = 0.6,hit_time = 0.2,icon = 'hero27',},
  [28] = {id = 'flyheadelite',res_name = 'Monster_FlyHeadElite',attack_time = 0.6,hit_time = 0.2,icon = 'hero28',},
  [29] = {id = 'foxboss',res_name = 'Monster_FoxBoss',attack_time = 0.6,hit_time = 0.2,icon = 'hero29',},
  [30] = {id = 'foxelite',res_name = 'Monster_FoxElite',attack_time = 0.6,hit_time = 0.2,icon = 'hero30',},
  [31] = {id = 'gemini',res_name = 'Monster_Gemini',attack_time = 0.6,hit_time = 0.2,icon = 'hero31',},
  [32] = {id = 'geminifemale',res_name = 'Monster_Gemini_Female',attack_time = 0.6,hit_time = 0.2,icon = 'hero32',},
  [33] = {id = 'geminimale',res_name = 'Monster_Gemini_Male',attack_time = 0.6,hit_time = 0.2,icon = 'hero33',},
  [34] = {id = 'gollingold',res_name = 'Monster_Goblin_Gold',attack_time = 0.6,hit_time = 0.2,icon = 'hero34',},
  [35] = {id = 'gollinnormal',res_name = 'Monster_Goblin_Normal',attack_time = 0.6,hit_time = 0.2,icon = 'hero35',},
  [36] = {id = 'gollinnormal_',res_name = 'Monster_Goblin_Normal_',attack_time = 0.6,hit_time = 0.2,icon = 'hero36',},
  [37] = {id = 'gollinnormal_2',res_name = 'Monster_Goblin_Normal_2',attack_time = 0.6,hit_time = 0.2,icon = 'hero37',},
  [38] = {id = 'gollinnormal_3',res_name = 'Monster_Goblin_Normal_3',attack_time = 0.6,hit_time = 0.2,icon = 'hero38',},
  [39] = {id = 'guxiaohuaboss',res_name = 'Monster_GuxiaohuaBoss',attack_time = 0.6,hit_time = 0.2,icon = 'hero39',},
  [40] = {id = 'hongjieboss',res_name = 'Monster_HongjieBoss',attack_time = 0.6,hit_time = 0.2,icon = 'hero40',},
  [41] = {id = 'huangxiaoyang',res_name = 'Monster_Huangxiaoyan',attack_time = 0.6,hit_time = 0.2,icon = 'hero41',},
  [42] = {id = 'humanmalestrongbeach',res_name = 'Monster_HumanMaleStrong_Beach',attack_time = 0.6,hit_time = 0.2,icon = 'hero42',},
  [43] = {id = 'humanmalestronggangdom',res_name = 'Monster_HumanMaleStrong_Gangdom',attack_time = 0.6,hit_time = 0.2,icon = 'hero43',},
  [44] = {id = 'keyboardman',res_name = 'Monster_KeyboardMan',attack_time = 0.6,hit_time = 0.2,icon = 'hero44',},
  [45] = {id = 'mingyueboss',res_name = 'Monster_MingyueBoss',attack_time = 0.6,hit_time = 0.2,icon = 'hero45',},
  [46] = {id = 'moyunzhenjun',res_name = 'Monster_Moyunzhenjun',attack_time = 0.6,hit_time = 0.2,icon = 'hero46',},
  [47] = {id = 'mianelite',res_name = 'Monster_NianElite',attack_time = 0.6,hit_time = 0.2,icon = 'hero47',},
  [48] = {id = 'qingfengboss]',res_name = 'Monster_QingfengBoss',attack_time = 0.6,hit_time = 0.2,icon = 'hero48',},
  [49] = {id = 'scarman',res_name = 'Monster_Scarman',attack_time = 0.6,hit_time = 0.2,icon = 'hero49',},
  [50] = {id = 'swordman',res_name = 'Monster_Swordman',attack_time = 0.6,hit_time = 0.2,icon = 'hero50',},
  [51] = {id = 'wangxiaozhang',res_name = 'Monster_WangXiaoZhang',attack_time = 0.6,hit_time = 0.2,icon = 'hero51',},
  [52] = {id = 'werwolf2',res_name = 'Monster_Werwolf',attack_time = 0.6,hit_time = 0.2,icon = 'hero52',},
  [53] = {id = 'werwolfred',res_name = 'Monster_WerwolfRed',attack_time = 0.6,hit_time = 0.2,icon = 'hero53',},
  [54] = {id = 'werwolfwhite',res_name = 'Monster_WerwolfWhite',attack_time = 0.6,hit_time = 0.2,icon = 'hero54',},
  [55] = {id = 'werwolfwhitesummon',res_name = 'Monster_WerwolfWhite_Summon',attack_time = 0.6,hit_time = 0.2,icon = 'hero55',},
  [56] = {id = 'whiteman',res_name = 'Monster_Whiteman',attack_time = 0.6,hit_time = 0.2,icon = 'hero56',},
  [57] = {id = 'wujie',res_name = 'Monster_Wujie',attack_time = 0.6,hit_time = 0.2,icon = 'hero57',},
  [58] = {id = 'zombiefemale',res_name = 'Monster_ZombieFemale',attack_time = 0.6,hit_time = 0.2,icon = 'hero58',},
  [59] = {id = 'zombiemale',res_name = 'Monster_ZombieMale',attack_time = 0.6,hit_time = 0.2,icon = 'hero59',},
  [60] = {id = 'zombiemaleremote',res_name = 'Monster_ZombieMale_Remote',attack_time = 0.6,hit_time = 0.2,icon = 'hero60',},
  [61] = {id = 'zombiemalesmall',res_name = 'Monster_ZombieMaleSmall',attack_time = 0.6,hit_time = 0.2,icon = 'hero61',},
  [62] = {id = 'zombiemalesmall_1',res_name = 'Monster_ZombieMaleSmall_',attack_time = 0.6,hit_time = 0.2,icon = 'hero62',},
  [63] = {id = 'zombiemaleSmall_2',res_name = 'Monster_ZombieMaleSmall_02',attack_time = 0.6,hit_time = 0.2,icon = 'hero63',},
  [64] = {id = 'zombiemalesmall_3',res_name = 'Monster_ZombieMaleSmall_03',attack_time = 0.6,hit_time = 0.2,icon = 'hero64',},
}

local id_to_index={
   ['werwolf'] = 1,
   ['cheyongtai'] = 2,
   ['cheyongtaiar'] = 3,
   ['cheyongtaisui'] = 4,
   ['guxiaohua'] = 5,
   ['guxiaohuagl'] = 6,
   ['hongjie'] = 7,
   ['huangxiao'] = 8,
   ['mingyue'] = 9,
   ['missyan'] = 10,
   ['missyanqing'] = 11,
   ['qingfeng'] = 12,
   ['tianranfei'] = 13,
   ['ximen'] = 14,
   ['ximenrage'] = 15,
   ['xisha'] = 16,
   ['xishadark'] = 17,
   ['yeyan'] = 18,
   ['yeyanmogu'] = 19,
   ['yeyandark'] = 20,
   ['yeyandarkbeginer'] = 21,
   ['batelite'] = 22,
   ['bear'] = 23,
   ['biao'] = 24,
   ['devilblood'] = 25,
   ['devilshark'] = 26,
   ['drunk'] = 27,
   ['flyheadelite'] = 28,
   ['foxboss'] = 29,
   ['foxelite'] = 30,
   ['gemini'] = 31,
   ['geminifemale'] = 32,
   ['geminimale'] = 33,
   ['gollingold'] = 34,
   ['gollinnormal'] = 35,
   ['gollinnormal_'] = 36,
   ['gollinnormal_2'] = 37,
   ['gollinnormal_3'] = 38,
   ['guxiaohuaboss'] = 39,
   ['hongjieboss'] = 40,
   ['huangxiaoyang'] = 41,
   ['humanmalestrongbeach'] = 42,
   ['humanmalestronggangdom'] = 43,
   ['keyboardman'] = 44,
   ['mingyueboss'] = 45,
   ['moyunzhenjun'] = 46,
   ['mianelite'] = 47,
   ['qingfengboss]'] = 48,
   ['scarman'] = 49,
   ['swordman'] = 50,
   ['wangxiaozhang'] = 51,
   ['werwolf2'] = 52,
   ['werwolfred'] = 53,
   ['werwolfwhite'] = 54,
   ['werwolfwhitesummon'] = 55,
   ['whiteman'] = 56,
   ['wujie'] = 57,
   ['zombiefemale'] = 58,
   ['zombiemale'] = 59,
   ['zombiemaleremote'] = 60,
   ['zombiemalesmall'] = 61,
   ['zombiemalesmall_1'] = 62,
   ['zombiemaleSmall_2'] = 63,
   ['zombiemalesmall_3'] = 64,
}

local hero_res={}

function hero_res.length() 
   return #_data 
end 

function hero_res.indexOf(index) 
   return _data[index] 
end 

function hero_res.get(id) 
  return hero_res.indexOf(id_to_index[id])
end 

return hero_res